package com.ojoin.trade.supplyloan_core.web.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ojoin.trade.common.web.domain.IDentifiable;
/**
 * 供应链结算对账单
 * @author huanggc
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class TbSlSupplyPayment implements IDentifiable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 *  平台结算单，未出票
	 */
	public static final String CHECKEDPAY = "CheckedPay";
		
	/**
	 *  结算单已出票
	 */
	public static final String WAITPAY = "WaitPay";
	/**
	 *  结算单，平台已付款
	 */
	public static final String COMPLETEPAY = "CompletePay";
	
	/**
	 *  融资记录
	 */
	public static final String FINANCING = "Financing";
	
	
	/**
	 * 类似于支付宝可用余额
	 */
	public static final String AVAILABLEBALANCE= "availableBalance";
	
	/**
	 * 类似于支付宝不可用余额
	 */
	public static final String UNAVAILABLEBALANCE= "unavailableBalance";
	
	
	/**
	 * 
	 */

	// 新增付款单，平台付款 
	public static final String ISNEW = "isNew";
	
	public static final String NOPAY = "nopay";
		
	private Integer id;

    /**
     * id_merchant_user platform_name 组合键
     */
    private Integer platformAccountId;

    private String settlementId;

    /**
     * 结算单生成日期
     */
    private String createDate;
    
    /**
     * 结算单结算截止日期
     */
    
    private String settlementDate;

    private String payDate;
    
    private long amount;

    private String settlementState;
    
    /**
     * 是否是新生成的结算或者付款
     */
    private String isnew ;
    
    /**
     * 付款是否在结算单中包含
     */
    private String PayId = "nopay";
    
    private Date rowUpdateTime;

    private Date rowCreateTime;

   private String memo ;
   
   /**
    * 
    */
   private String type ;
   
	public String getPayDate() {
		return payDate;
	}

	public void setPayDate(String payDate) {
		this.payDate = payDate;
	}

	public String getSettlementDate() {
		return settlementDate;
	}

	public void setSettlementDate(String settlementDate) {
		this.settlementDate = settlementDate;
	}

	public String getPayId() {
		return PayId;
	}

	public void setPayId(String payId) {
		PayId = payId;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIsnew() {
		return isnew;
	}

	public void setIsnew(String isnew) {
		this.isnew = isnew;
	}

	public Integer getPlatformAccountId() {
        return platformAccountId;
    }

    public void setPlatformAccountId(Integer platformAccountId) {
        this.platformAccountId = platformAccountId;
    }

    public String getSettlementId() {
        return settlementId;
    }

    public void setSettlementId(String settlementId) {
        this.settlementId = settlementId == null ? null : settlementId.trim();
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate == null ? null : createDate.trim();
    }


   

    public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public String getSettlementState() {
		return settlementState;
	}

	public void setSettlementState(String settlementState) {
		this.settlementState = settlementState;
	}

	@Override
	public Date getRowUpdateTime() {
		return rowUpdateTime;
	}

	@Override
	public void setRowUpdateTime(Date rowUpdateTime) {
		this.rowUpdateTime=rowUpdateTime;
	}

	@Override
	public Date getRowCreateTime() {
		return rowCreateTime;
	}

	@Override
	public void setRowCreateTime(Date rowCreateTime) {
		this.rowCreateTime=rowCreateTime;
	}

	@Override
	public String getTableName() {
		return "tb_sl_supply_payment";
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
}
